package com.aixx.springcloud.alibaba.dao;

import com.aixx.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author shkstart
 * @create 2021-02-17 18:04
 */
@Mapper
public interface OrderDao {
//    新建的订单
    void  create(Order order);

//   修改订单的状态
    void  update(@Param("userId") Long userId,@Param("status")Integer status);
}
